package com.chookss.tiku.entity;

import org.jetbrains.annotations.NotNull;

import java.util.List;

public class LeftEntiry {

    /**
     * id : null
     * catalogCode : 0001
     * catalogName : 基础知识
     * proficiency : 3
     */

    public Object id;
    public String catalogCode;
    public String catalogName;
    public String parentCode;
    public String proficiency;
    public String readType;
    public String answerNum;
    public String subjectNum;
    public String score;
    public String avgHard;
    public String allAnswerNum;
    public String timeLength;
    public boolean isSelected;
    public List<LeftEntiry> childList;
    public int lvlNo = 0;

    public String getReadType() {
        return readType;
    }

    public void setReadType(String readType) {
        this.readType = readType;
    }

    public String getAnswerNum() {
        return answerNum;
    }

    public void setAnswerNum(String answerNum) {
        this.answerNum = answerNum;
    }

    public String getSubjectNum() {
        return subjectNum;
    }

    public void setSubjectNum(String subjectNum) {
        this.subjectNum = subjectNum;
    }

    public String getScore() {
        return score;
    }

    public void setScore(String score) {
        this.score = score;
    }

    public String getAvgHard() {
        return avgHard;
    }

    public void setAvgHard(String avgHard) {
        this.avgHard = avgHard;
    }

    public String getAllAnswerNum() {
        return allAnswerNum;
    }

    public void setAllAnswerNum(String allAnswerNum) {
        this.allAnswerNum = allAnswerNum;
    }

    public String getTimeLength() {
        return timeLength;
    }

    public void setTimeLength(String timeLength) {
        this.timeLength = timeLength;
    }

    public Object getId() {
        return id;
    }

    public void setId(Object id) {
        this.id = id;
    }

    public String getCatalogCode() {
        return catalogCode;
    }

    public void setCatalogCode(String catalogCode) {
        this.catalogCode = catalogCode;
    }

    public String getCatalogName() {
        return catalogName;
    }

    public void setCatalogName(String catalogName) {
        this.catalogName = catalogName;
    }

    public String getProficiency() {
        return proficiency;
    }

    public void setProficiency(String proficiency) {
        this.proficiency = proficiency;
    }

    public boolean getSelected() {
        return isSelected;
    }

    public void setSelected(boolean selected) {
        isSelected = selected;
    }

    public String getParentCode() {
        return parentCode;
    }

    public void setParentCode(String parentCode) {
        this.parentCode = parentCode;
    }

    @NotNull
    public LeftEntiry clone() {
        LeftEntiry o = new LeftEntiry();
        o.id = id;
        o.catalogName = catalogName;
        o.catalogCode = catalogCode;
        o.parentCode = parentCode;
        o.proficiency = proficiency;
        o.readType = readType;
        o.answerNum = answerNum;
        o.subjectNum = subjectNum;
        o.score = score;
        o.avgHard = avgHard;
        o.allAnswerNum = allAnswerNum;
        o.timeLength = timeLength;
        return o;
    }
}
